#include<iostream>
using namespace std;
int main()
{
	int a = 10;
	int& b = a;
	const int& c = a;
	const int& d = a+3;
	cout << a << ' ' << b <<' '<<c <<' '<<d << endl;
	a = 0;
	cout << a << ' ' << b << ' ' << c <<' '<<d << endl;


	system("pause");
	return 0;
}